package com.ushio.gougouwangguo.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.ushio.gougouwangguo.entity.mysql.MaterialsQuality;
import com.ushio.gougouwangguo.mapper.MaterialsQualityMapper;
import com.ushio.gougouwangguo.service.IMaterialsQualityService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 物资品质表 服务实现类
 * </p>
 *
 * @author 张文凯
 * @since 2025-10-14
 */
@Service
public class MaterialsQualityServiceImpl extends ServiceImpl<MaterialsQualityMapper, MaterialsQuality> implements IMaterialsQualityService {

    @Autowired
    MaterialsQualityMapper materiasQualityMapper;
    @Override
    public List<MaterialsQuality> getMateriasQualityAll() {

        List<MaterialsQuality> materialsQualities = materiasQualityMapper.selectList(new LambdaQueryWrapper<>());

        return materialsQualities;
    }
}
